package cn.rxls.admin.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 用户表(User)表实体类
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User {
    @TableId(type = IdType.AUTO)
    //用户id    
    private Long uid;

    //性别  0女  1男
    private Integer sex;
    //用户名
    private String username;
    //密码
    private String password;
    //年龄
    private Integer age;
    //电话
    private String phone;
    //账号
    private String auto;
    //0 不启用   1启用
    private Integer statue;
    //0普通用户   1管理员
    private Integer role;
}
